add_swift_host_library(swiftLLVMPasses STATIC
  LLVMSwiftAA.cpp
  LLVMSwiftRCIdentity.cpp
  LLVMARCOpts.cpp
  LLVMARCContract.cpp
  LLVMInlineTree.cpp
  LLVMMergeFunctions.cpp

  LLVM_LINK_COMPONENTS
  analysis
  )
target_link_libraries(swiftLLVMPasses PRIVATE
  swiftDemangling)
